const obj = {
  name: "www.kuaile.com/?name=kaki",
};

console.log(encodeURIComponent(obj.name));
